﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PageNotFoundListControl.ascx.cs" Inherits="Dms.UmbracoExtension.ManageRedirects.Plugins.ManageRedirects.Usercontrols.PageNotFoundListControl" %>

<h3>Top 'page not found' errors</h3>
<br /><br />
<table width="98%" class="listTable" cellpadding="5" cellspacing="0">
    <thead>
        <tr>
        <th style="width: 50px;">
                Count
            </th>
            <th>
                Url
            </th>
        </tr>
    </thead>
    <asp:ListView ID="pageNotFoundListview" runat="server">
        <ItemTemplate>
            <tr>
                <td style="width: 50px;">
                    <asp:Literal ID="countLiteral" runat="server"></asp:Literal>
                </td>
                <td>
                    <asp:Literal ID="urlLiteral" runat="server"></asp:Literal>
                </td>            
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="alternatingItem">
                <td style="width: 50px;">
                    <asp:Literal ID="countLiteral" runat="server"></asp:Literal>
                </td>
                <td>
                    <asp:Literal ID="urlLiteral" runat="server"></asp:Literal>
                </td>
            </tr>
        </AlternatingItemTemplate>
    </asp:ListView>
</table>
<br />
<asp:DataPager ID="pageNotFoundDataPager" runat="server" PagedControlID="pageNotFoundListview" PageSize="20">
    <Fields>
        <asp:NumericPagerField ButtonType="Link" ButtonCount="5" />
    </Fields>
</asp:DataPager>